package cbc.dao.pojo;

import java.sql.Blob;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * TDoctor entity. @author MyEclipse Persistence Tools
 */

public class TDoctor implements java.io.Serializable {

	// Fields

	private String doctorId;
	private TDoctor doctor;
	private THealthCenter healthCenter;
	private String doctorName;
	private String sex;
	private String password;
	private String status;
	private String telephone;
	private String address;
	private Blob picture;
	private String idCard;
	private Date startdate;
	private Integer age;
	private String unit;
	private Set<TDoctor> doctor7 = new HashSet<TDoctor>();
	private Set<TDoctor> doctor9 = new HashSet<TDoctor>();
	private Set<TDoctor> doctor6 = new HashSet<TDoctor>();
	private Set<TDoctor> doctor5 = new HashSet<TDoctor>();
	private Set<TDoctor> doctor8 = new HashSet<TDoctor>();
	private Set<TDoctor> mdoctor = new HashSet<TDoctor>();
	private Set<TDoctor> doctor3 = new HashSet<TDoctor>();
	private Set<TCertificate> certificates = new HashSet<TCertificate>();
	private Set<TDoctor> doctors = new HashSet<TDoctor>();
	private Set<TDoctorLimit> doctorLimits = new HashSet<TDoctorLimit>();
	private Set<TDoctor> doctor4 = new HashSet<TDoctor>();

	// Constructors

	/** default constructor */
	public TDoctor() {
	}

	/** minimal constructor */
	public TDoctor(String doctorId) {
		this.doctorId = doctorId;
	}

	/** full constructor */
	public TDoctor(String doctorId, String doctorName, String sex,
			String password, String status, String telephone, String address,
			Blob picture, String idCard, Date startdate, Integer age,
			String unit) {
		this.doctorId = doctorId;

		this.doctorName = doctorName;
		this.sex = sex;
		this.password = password;
		this.status = status;
		this.telephone = telephone;
		this.address = address;
		this.picture = picture;
		this.idCard = idCard;
		this.startdate = startdate;
		this.age = age;
		this.unit = unit;
	}

	public String getDoctorId() {
		return doctorId;
	}

	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}

	public TDoctor getDoctor() {
		return doctor;
	}

	public void setDoctor(TDoctor doctor) {
		this.doctor = doctor;
	}

	public THealthCenter getHealthCenter() {
		return healthCenter;
	}

	public void setHealthCenter(THealthCenter healthCenter) {
		this.healthCenter = healthCenter;
	}

	public String getDoctorName() {
		return doctorName;
	}

	public void setDoctorName(String doctorName) {
		this.doctorName = doctorName;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Blob getPicture() {
		return picture;
	}

	public void setPicture(Blob picture) {
		this.picture = picture;
	}

	public String getIdCard() {
		return idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public Date getStartdate() {
		return startdate;
	}

	public void setStartdate(Date startdate) {
		this.startdate = startdate;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Set<TDoctor> getDoctor7() {
		return doctor7;
	}

	public void setDoctor7(Set<TDoctor> doctor7) {
		this.doctor7 = doctor7;
	}

	public Set<TDoctor> getDoctor9() {
		return doctor9;
	}

	public void setDoctor9(Set<TDoctor> doctor9) {
		this.doctor9 = doctor9;
	}

	public Set<TDoctor> getDoctor6() {
		return doctor6;
	}

	public void setDoctor6(Set<TDoctor> doctor6) {
		this.doctor6 = doctor6;
	}

	public Set<TDoctor> getDoctor5() {
		return doctor5;
	}

	public void setDoctor5(Set<TDoctor> doctor5) {
		this.doctor5 = doctor5;
	}

	public Set<TDoctor> getDoctor8() {
		return doctor8;
	}

	public void setDoctor8(Set<TDoctor> doctor8) {
		this.doctor8 = doctor8;
	}

	public Set<TDoctor> getMdoctor() {
		return mdoctor;
	}

	public void setMdoctor(Set<TDoctor> mdoctor) {
		this.mdoctor = mdoctor;
	}

	public Set<TDoctor> getDoctor3() {
		return doctor3;
	}

	public void setDoctor3(Set<TDoctor> doctor3) {
		this.doctor3 = doctor3;
	}

	public Set<TCertificate> getCertificates() {
		return certificates;
	}

	public void setCertificates(Set<TCertificate> certificates) {
		this.certificates = certificates;
	}

	public Set<TDoctor> getDoctors() {
		return doctors;
	}

	public void setDoctors(Set<TDoctor> doctors) {
		this.doctors = doctors;
	}

	public Set<TDoctorLimit> getDoctorLimits() {
		return doctorLimits;
	}

	public void setDoctorLimits(Set<TDoctorLimit> doctorLimits) {
		this.doctorLimits = doctorLimits;
	}

	public Set<TDoctor> getDoctor4() {
		return doctor4;
	}

	public void setDoctor4(Set<TDoctor> doctor4) {
		this.doctor4 = doctor4;
	}

	// Property accessors

}
